/**
 * Copyright 2015-2016 eyaomall.cn
 * All rights reserved.
 *
 * @project
 * @author yuhuafeng
 * @version 1.0
 * @date 2016-01-06
 */
package com.eyaomall.wxmanage.dao;

import org.springframework.stereotype.Repository;

import com.eyaomall.wxmanage.model.po.OperLog;
import com.lycheeframework.core.annotation.NameSpace;
import com.lycheeframework.core.cmp.kit.IHTTPObject;
import com.lycheeframework.core.cmp.kit.Pages;
import com.lycheeframework.core.support.DaoSupport;
@Repository
@NameSpace("oper_log")
public class OperLogDao extends DaoSupport<OperLog> {

	/**
	 * 新增操作日志
	 */
	public int create(OperLog operLog){
		super.insert(operLog);
		
		return operLog.getId();
	}
	
	/**
	 * 分页查询操作日志
	 * @param log
	 * @return
	 */
	public Pages<?> page(OperLog log,IHTTPObject httpObj){
		
		return super.page(log,httpObj);
	}
}
